package com.ajhlp.spring_modules.db.multiSource.metaModel;
/**
 * 数据表(集)信息
 * @author ajhlp
 *
 */
public class DBSource_DataSet extends DBSource_BasicMetaInfo {

	//数据表(集)是否可编辑数据
	private Boolean editable = Boolean.FALSE;
	//所属数据源ID
	private int dbSourceBasicInfoId = 0;
	/**
	 * 数据表(集)的数据是否可编辑
	 * @return
	 */
	public Boolean getEditable() {
		return editable;
	}
	/**
	 * 设置数据表(集)数据是否可编辑
	 * @param editable
	 */
	public void setEditable(Boolean editable) {
		this.editable = editable;
	}
	/**
	 * 获取数据表(集)所属数据源ID
	 * @return
	 */
	public int getDbSourceBasicInfoId() {
		return dbSourceBasicInfoId;
	}
	/**
	 * 设置数据表(集)所属数据源ID
	 * @param dbSourceBasicInfoId
	 */
	public void setDbSourceBasicInfoId(int dbSourceBasicInfoId) {
		this.dbSourceBasicInfoId = dbSourceBasicInfoId;
	}
	@Override
	public String toString() {
		// TODO Auto-generated method stub
		return "******************************************************************\n" +
				"id:"+this.getId()+"    name:"+this.getName()+"\n"+
				"desc:"+this.getDescription()+"\n"+
				"editable:"+this.getEditable()+"    dbSourceId:"+this.getDbSourceBasicInfoId()+"\n"+
				"*****************************************************************";
	}
	
	
}
